package com.qing.dao;
import com.qing.domain.User;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface UserDao {
    void addUser(User user);
    void updateUserByUser(User user);
    void deleteUserByUserName(String userName);
    User findUserByUserName(String userName);
    String getUserPasswordByUserName(String userName);
    List<User> getAllUserInfo();
    User findUserByUserId(int id);//这个service没有
}
